package com.wzweb.entity;

import java.sql.ResultSet;

import com.wzweb.dao.util.DBParse;

public class AnswerinfosParse extends UserParse {
	@Override
	public Object parseEntity(ResultSet rs)throws Exception {
		Answerinfos as=new Answerinfos();
		as.setAnswerInfoID(rs.getInt("answerInfoID"));
		as.setQuestionInfoID(rs.getInt("questionInfoID"));
		as.setContents(rs.getString("contents"));
		as.setUserID(rs.getInt("UserID"));	
		as.setAddTime(rs.getString("AddTime"));
		return as;
	}
}
